package com.ulife.category.dao.dataobject;

import java.util.Date;

/**
 * 属性
 * @author Administrator
 *
 */
public class PropertyDo {

	private Long pId;
	private String pName;
	/**
	 * 1为可用 0为不可用
	 */
	private Integer pStatus;
	/**
	 * 所属类目
	 */
	private Long cId;
	/**
	 * 属性编号
	 */
	private String pCode;
	private Date gmtCreate;
	private Date gmtModified;
	
	public Long getpId() {
		return pId;
	}
	public void setpId(Long pId) {
		this.pId = pId;
	}
	public String getpName() {
		return pName;
	}
	public void setpName(String pName) {
		this.pName = pName;
	}
	public Integer getpStatus() {
		return pStatus;
	}
	public void setpStatus(Integer pStatus) {
		this.pStatus = pStatus;
	}
	public Long getcId() {
		return cId;
	}
	public void setcId(Long cId) {
		this.cId = cId;
	}
	public String getpCode() {
		return pCode;
	}
	public void setpCode(String pCode) {
		this.pCode = pCode;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	
	@Override
	public String toString() {
		return "PropertyDo [pId=" + pId + ", pName=" + pName + ", pStatus=" + pStatus + ", cId=" + cId + ", pCode=" + pCode + ", gmtCreate="
				+ gmtCreate + ", gmtModified=" + gmtModified + "]";
	}
}
